package com.lanbu.system.service.impl;


import com.lanbu.system.domain.SysDeptShareid;
import com.lanbu.system.mapper.SysDeptShareidMapper;
import com.lanbu.system.service.ISysDeptShareidService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 部门关联shareidService业务层处理
 *
 * @author lanbu
 * @date 2025-03-24
 */
@Service
public class SysDeptShareidServiceImpl implements ISysDeptShareidService
{
    @Autowired
    private SysDeptShareidMapper sysDeptShareidMapper;

    @Override
    public SysDeptShareid selectSysDeptShareidByDeptId(Long deptId)
    {
        return sysDeptShareidMapper.selectSysDeptShareidByDeptId(deptId);
    }

    @Override
    public List<SysDeptShareid> selectSysDeptShareidList(SysDeptShareid sysDeptShareid)
    {
        return sysDeptShareidMapper.selectSysDeptShareidList(sysDeptShareid);
    }

    @Override
    public int insertSysDeptShareid(SysDeptShareid sysDeptShareid)
    {
        return sysDeptShareidMapper.insertSysDeptShareid(sysDeptShareid);
    }

    @Override
    public int updateSysDeptShareid(SysDeptShareid sysDeptShareid)
    {
        return sysDeptShareidMapper.updateSysDeptShareid(sysDeptShareid);
    }

    @Override
    public int deleteSysDeptShareidByDeptIds(Long[] deptIds)
    {
        return sysDeptShareidMapper.deleteSysDeptShareidByDeptIds(deptIds);
    }

    @Override
    public int deleteSysDeptShareidByDeptId(Long deptId)
    {
        return sysDeptShareidMapper.deleteSysDeptShareidByDeptId(deptId);
    }
}
